projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c724af
)
Revert "Fix alignment on font size change in tabulated-list-mode"
author
Eli Zaretskii
<eliz@gnu.org>
Sun, 9 Jan 2022 10:38:26 +0000
(12:38 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sun, 9 Jan 2022 10:38:26 +0000
(12:38 +0200)
This reverts commit
2767c89db729a6106146d0aeff76678c64d4fc53
.
That change caused a regression in a much more important use
case, see bug#53133.
lisp/emacs-lisp/tabulated-list.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/tabulated-list.el
b/lisp/emacs-lisp/tabulated-list.el
index 0bf98952458b57d3fc4204355a522c4389b3c2c9..3d944bf5e165380054abc05a602c70840fc59b23 100644
(file)
--- a/
lisp/emacs-lisp/tabulated-list.el
+++ b/
lisp/emacs-lisp/tabulated-list.el
@@
-581,8
+581,7
@@
Return the column number after insertion."
(when not-last-col
(when (> pad-right 0) (insert (make-string pad-right ?\s)))
(insert (propertize
- ;; We need at least one space to align correctly.
- (make-string (- width (min 1 width label-width)) ?\s)
+ (make-string (- width (min width label-width)) ?\s)
'display `(space :align-to ,next-x))))
(put-text-property opoint (point) 'tabulated-list-column-name name)
next-x)))